package ace.module.upms.api.model.dto.ext;

import ace.module.upms.api.model.dto.UpmsMenuDto;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author caspar
 * @date 2024/7/18 10:53
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(title = "菜单树")
public class UpmsMenuTree {
  @Schema(title = "菜单")
  private UpmsMenuDto menu;

  @Schema(title = "子菜单")
  private List<UpmsMenuDto> children;
}
